//
//  BHFunDetailTeamUserCell.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/6/30.
//

import UIKit

class BHFunDetailTeamUserCell: UITableViewCell {

    @IBOutlet weak var iconImgView: UIImageView!
    
    @IBOutlet weak var name_label: UILabel!
    
    @IBOutlet weak var phoneBtn: UIButton!
    var model: BHFunApplyUserModel? {
        didSet {
            if model == nil {
                return
            }
            
            self.iconImgView.sd_setImage(with: URL.init(string: model?.userAvatar ?? ""), completed: nil)
            
            self.name_label.text = model?.signName

        }
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        self.iconImgView.addLayerCorner(15, 0, .white);
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
